package com.sgb.businessmodule.view.ui.adapter;

import android.content.Context;

import com.sgb.businessmodule.BR;
import com.sgb.businessmodule.entity.PickFilterEntity;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class PopularFilterAdapter extends BaseRecycleAdapter<PickFilterEntity> {

    public PopularFilterAdapter(Context context, int layoutId, List<PickFilterEntity> datas) {
        super(context, layoutId, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, final PickFilterEntity entity) {
        holder.setBinding(BR.viewModel, entity);
    }
}